package com.ssm.dao;

import com.ssm.entity.Base;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BaseDao<T> {

    List<T> find(T t);

    int add(T t);

    int edit(T t);

    int remove(@Param(value = "id") int id);

}
